Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add test.sh to run certain tests in Docker #1900

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

DavisNT
Copy link

@DavisNT DavisNT commented Oct 29, 2023

Add ability to run build-simulator and test-format tests in Docker.

Syntax with local Docker image is:

docker run --rm -it -v ${PWD}:/sources --user $(id -u):$(id -g) infinitime-build /opt/test.sh build-simulator [repo branch]
docker run --rm -it -v ${PWD}:/sources --user $(id -u):$(id -g) infinitime-build /opt/test.sh test-format [commit]

The repo and branch parameters for build-simulator specify InfiniSim version to use for the test build.
The commit parameter for test-format specify base commit/branch/tag to compare against when testing the formatting.

@github-actions
Copy link

Build checks have not completed. Possible reasons for this are:

  1. The checks need to be approved by a maintainer
  2. The branch has conflicts
  3. The firmware build has failed

Add ability to run build-simulator and test-format tests in Docker.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant